package com.ruoyi.business.mapper;

import com.ruoyi.business.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Category category);

    Category selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category category);

    int updateByPrimaryKey(Category category);

    List<Category> selectByIdOrType(@Param("cId")Integer cId, @Param("type")Integer type) ;
}